<div>
  <ng-form name="upload">

    <input type="file" ngf-select ng-model="fbdFile" name="file" accept=".fbd" required/>
<!--     <button type="button" class="btn btn-info" ng-disabled="upload.$invalid" ng-click="uploadFile(fbdFile)">确定上传</button> -->
    <div class="upload-hint" ng-class="{true:'upload-success', false:'upload-fail'}[isUploaded]">
      <span class="glyphicon" ng-class="{true:'glyphicon-ok', false:'glyphicon-remove'}[isUploaded]"></span>
      {{uploadInfo}}
    </div>
    <!-- {{a}} -->
    <!-- {{fbdFile.name}} -->
  </ng-form>
</div>
